<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../../动画模块/waifu.min.css">
     <!-- waifu-tips.js 依赖 JQuery 库 -->
     <script src="E:/移动端代码/动画人物2D/live2d/assets/assets/jquery.min.js"></script>
   
     <!-- 实现拖动效果，需引入 JQuery UI -->
     <script src="E:/移动端代码/动画人物2D/live2d/assets/assets/jquery-ui.min.js"></script>
     <script src="E:/移动端代码/动画人物2D/live2d/assets/assets/waifu-tips.min.js"></script>
     <script src="E:/移动端代码/动画人物2D/live2d/assets/assets/live2d.min.js"></script>
    
    <!-- <script src="../../动画模块/libs/require.js" data-main="../../动画模块/main"></script> -->
</head>
<body>
    <div class="waifu">
        <div class="waifu-tips"></div>
        <canvas id="live2d" class="live2d"></canvas>
        <div class="waifu-tool">
            <span class="fui-home"></span>
            <span class="fui-chat"></span>
            <span class="fui-eye"></span>
            <span class="fui-user"></span>
            <span class="fui-photo"></span>
            <span class="fui-info-circle"></span>
            <span class="fui-cross"></span>
        </div>
    </div>
</body>
</html>
<script>
        /* 可直接修改部分参数 */
    live2d_settings['modelId'] = 1; // 默认模型 ID
    live2d_settings['modelTexturesId'] = 80; // 默认材质 ID
    live2d_settings['modelStorage'] = false; // 不储存模型 ID
    live2d_settings['canCloseLive2d'] = false; // 隐藏 关闭看板娘 按钮
    live2d_settings['canTurnToHomePage'] = false; // 隐藏 返回首页 按钮
    live2d_settings['waifuSize'] = '600x535'; // 看板娘大小
    live2d_settings['waifuTipsSize'] = '570x1500'; // 提示框大小
    live2d_settings['waifuFontSize'] = '30px'; // 提示框字体
    live2d_settings['waifuToolFont'] = '36px'; // 工具栏字体
    live2d_settings['waifuToolLine'] = '50px'; // 工具栏行高
    live2d_settings['waifuToolTop'] = '-60px'; // 工具栏顶部边距
    live2d_settings['waifuDraggable'] = 'axis-x'; // 拖拽样式

    // /* 在 initModel 前添加 */
    initModel("E:/移动端代码/动画人物2D/live2d/assets/waifu-tips.json?v=1.4.2")
   
</script>